<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>js01</title>
</head>
<body>
<script>
    let d = new Date()
    let w = d.getDay()
    //let 姓名 = '李四' 不推荐
    console.log(姓名)
    //js = 变量赋值   ==   ===
    if (w == 0) {
        //console控制台，也方式以日志方式输出在浏览器控制台，主要用于开发测试
        document.write('星期日')
    } else if (w === 1) {
        document.write('星期一')
    } else if (w === 2) {
        document.write('星期二')
    } else if (w === 3) {
        document.write('星期三')
    } else if (w === 4) {
        document.write('星期四')
    } else if (w === 5) {
        document.write('星期五')
    } else{
        document.write('星期六')
    }
</script>
<h3>中文网页</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing.</p>
<p>Debitis expedita libero magni quod sapiente vel.</p>
<p>Autem dolore earum id optio. Dolorem, ut.</p>
<p>Consequuntur dicta eligendi enim facere sapiente sit?</p>
<p>Accusamus aperiam, esse temporibus tenetur voluptas voluptatum!</p>
<p>Accusamus doloremque ex impedit laudantium odio voluptas.</p>
<h1>Lorem ipsum dolor.</h1>
<h1>Dolores, numquam voluptates.</h1>
<h1>Alias dignissimos, velit.</h1>
<div id="ad">hello world</div>
<div id="cc" class="a b c">html5</div>
</body>
</html>
